package com.meiqia.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lightman
 * @since 2020-12-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("t_content")
public class Content implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 广告表ID
     */
    @TableId("id")
    private Long id;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 图片地址
     */
    @TableField("pic")
    private String pic;

    /**
     * 跳转连接
     */
    @TableField("url")
    private String url;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

}
